package com.ziyun.pop.modules.storeProductPrice.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ziyun.pop.modules.storeProductPrice.entity.StoreGoodsCategoryEntity;
import com.ziyun.pop.modules.storeProductPrice.entity.StoreGoodsProductEntity;
import com.ziyun.pop.modules.storeProductPrice.entity.StoreProductPriceEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 门店产品阶梯价
 * 
 * @author xueqz
 * @email 
 * @date 2018-09-26 16:13:59
 */
public interface StoreProductPriceDao extends BaseMapper<StoreProductPriceEntity> {

    List<StoreGoodsCategoryEntity> getStoreCategoryList();

    List<StoreGoodsProductEntity> getStoreProductByCatId(@Param("catId") Integer catId,@Param("sellerId") Long sellerId);

    void flagDelete(@Param("stepIds") String stepIds);

    void editFlagDelete(@Param("productId") Integer productId,@Param("sellerId") Long sellerId);

    List<StoreGoodsProductEntity> getStoreProductByName(@Param("queryName")String queryName, @Param("sellerId")Long sellerId);
}
